package com.zhou.jianzhi.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.jianzhi.entity.base.PageResult;
import com.zhou.jianzhi.entity.po.ForumPost;

import java.util.List;

/**
* @author 黄嘉杰
* @description 针对表【forum_post(论坛帖子表)】的数据库操作Service
* @createDate 2025-01-23 11:15:03
*/
public interface ForumPostService extends IService<ForumPost> {

    PageResult<ForumPost> getPostList(String type, Integer page, Integer size);

    void addPost(ForumPost post);

    void editPost(ForumPost post);

    void deletePost(Long id);

    ForumPost getPostDetail(Long id);
}
